package com.jic.market.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.market.entity.LotteryReceiver;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 抽奖活动用户信息表
 * @author : 
 * @email : 
 * @since : 2020-03-03 03:06:39
 * @version : v1.0.0
 */
@Repository
@Mapper
public interface  LotteryReceiverMapper {

    long insert(LotteryReceiver lotteryReceiver);

    long delete(Long id);

    long update(LotteryReceiver lotteryReceiver);

    LotteryReceiver queryByPrimaryKey(Long id);

    List<LotteryReceiver> query(LotteryReceiver lotteryReceiver);

    List<LotteryReceiver> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("lotteryReceiver") LotteryReceiver lotteryReceiver);

    long queryPageCount(LotteryReceiver lotteryReceiver);
}